#ifndef TIMEBTN_H
#define TIMEBTN_H

#include<QPushButton>
#include<QTimer>
class TimerBtn:public QPushButton
{
public:
    TimerBtn(QWidget* parent = nullptr);
    ~TimerBtn();
    void mouseReleaseEvent(QMouseEvent* e) override;
private:
    QTimer* _timer;
    int _counter;
};

#endif // TIMEBTN_H
